package com.etc.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
@NoArgsConstructor
public class Orders {
    private String order_no;

    private Date order_date;

    private Integer order_seatno;

    private Userinfo userinfo;

    private Integer user_no;

    private Showings showings;

    private Integer showing_no;

    private Integer order_status;

    private Comments comments;

    private String alipay_no;

    public Orders(Integer order_seatno, Integer user_no, Integer showing_no) {
        this.order_seatno = order_seatno;
        this.user_no = user_no;
        this.showing_no = showing_no;
    }
}